package com.xiaoma.base.serialiable;

import org.springframework.util.SerializationUtils;

public class Test {

    public static void main(String[] args) {
        byte[] toms = SerializationUtils.serialize(new User("tom"));
        System.out.println(toms);
        for (byte b:toms) {
            System.out.println(b);
        }

    }
}
